<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-horizontal">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">企业全称:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.company_name|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">所在城市:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.city.name|default=''|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">公司地址:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.address|htmlentities}</p>
            </div>
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">所属行业:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.industry_category.name|default=''|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">公司性质:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.company_type.name|default=''|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">公司规模:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.company_scale.name|default=''|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">联系人:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.contact_person|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">联系电话:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.contact_phone|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">联系邮箱:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">{$row.contact_email|htmlentities}</p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">企业LOGO:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">
                    <a href="{$row.logo|cdnurl|htmlentities}" target="_blank"><img style="width:200px;" src="{$row.logo|cdnurl|htmlentities}" /></a>
                </p>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">营业执照:</label>
            <div class="col-xs-12 col-sm-8">
                <p class="form-control-static">
                    <a href="{$row.license_img|cdnurl|htmlentities}" target="_blank"><img style="width:200px;" src="{$row.license_img|cdnurl|htmlentities}" /></a>
                </p>
            </div>
        </div>
        {if $company['audit_status'] == 2}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[audit_status]', ['2'=>"待审核",'1'=>"已审核",'3'=>"未通过"], $company['audit_status'])}
            </div>
        </div>

    </div>
    <div class="form-group" data-favisible="audit_status=3">
        <label for="c-refuse_reason" class="control-label col-xs-12 col-sm-2">拒绝原因:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-refuse_reason" class="form-control" rows="8" name="row[refuse_reason]"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
    {/if}
</form>